import io.grpc.Server;
import io.grpc.ServerBuilder;

public class Hello {
    public static void main(String[] args) {
        Server server = ServerBuilder.forPort(10002).addService(new HelloServiceImpl()).build();

        try {
            server.start();
            server.awaitTermination();
        }catch (Exception e) {
            System.out.println(e.toString());
        }

    }
}